<!DOCTYPE html>
<html>
<head>
    <meta charset=utf-8>
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:webpath}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/user.css" />
    <script type='text/javascript' src='{cscms:tempurl}js/user.js'></script>
    <script type="text/javascript" src="{cscms:tempurl}js/jquery.emot.js"></script>
</head>
<body style="background: #f5f5f5">
	{cscms:head}
	{cscms:right}
		{cscms:left}
			<div class="sp-cont-r">
				<div class="layui-collapse" lay-accordion>
				    <div class="layui-colla-item">
				        <h2 class="layui-colla-title">发布说说</h2>
				        <div class="layui-colla-content layui-show" style="height: 120px;padding: 10px">
				        	<div class="user_info">
							    <div class="doing">
							        <div id="note" contenteditable="true" class="blogInput" name="note" style="display: block;"></div>
							    </div>
							    <div id="act" class="act" style="display: block;">
							        <div id="emot_note" class="emot" to="note"></div>
							        <!--表情-->
							        <div class="button">
							            <button class="layui-btn layui-btn-mini layui-btn-warm" class="send" onclick="user.blog_send()">发布</button>
							        </div>
							    </div>
							</div>
				        </div>
				    </div>
				</div>
				<div class="layui-tab layui-tab-card" lay-filter="dt1">
				    <ul class="layui-tab-title" style="height: 41px">
				        <li {if:'{cscms:fid}'!='all'}class="layui-this"{end if}><a href="[user:url userlink=blog]">我的说说</a></li>
				        <li {if:'{cscms:fid}'=='all'}class="layui-this"{end if}><a href="[user:url userlink=blog,index,all]">大家都在说</a></li>
				    </ul>
				    <div class="layui-tab-content" style="padding:10px 15px">
				        <div class="layui-tab-item layui-show">
					        {cscms:dt table="blog" pagesize="10" sort="addtime" order="desc"}
					        	<li class="dt-one" id="del[dt:id]">
					        		<a target="_blank" class="dt-img" href="[dt:url ulink=index]"><img src="[dt:user zd=logo]?size=60*60"></a>
					        		<div class="dt-neir">
					        			<div class="dt-time">[dt:addtime style=time]</div>
					        			{if:'{cscms:fid}'=='my'}<div title="删除" onclick="user.blog_del([dt:id])" class="dt-del"><i class="fa fa-trash-o"></i></div>{end if}
					        			<div class="dt-title">
					        				{if:'{cscms:fid}'!='all'}<a href="javascript:;">您说：</a>{else}<a target="_blank" href="[dt:url ulink=index]">[dt:user zd=nichen]&nbsp;说：</a>{end if}
					        			</div>
					        			<div class="dt-nl">
					        				[dt:neir]
					        			</div>
					        		</div>
					        	</li>
					        {/cscms:dt}
					        {if:{cscms:pagedata}==0}<div class="zanwu">暂无相关数据！</div>{end if}
					        <div class="page" style="text-align: right;{if:{cscms:pagedata}==0}display: none;{end if}">
	                            <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-0">
	                                <a href="{cscms:pagefirst}" class="layui-laypage-last" title="首页">首页</a>
	                                <a href="{cscms:pageup}" class="layui-laypage-last" title="上一页">上一页</a>
	                                {cscms:pagenum len=6}
	                                <a href="{cscms:pagedown}" class="layui-laypage-next">下一页</a>
	                                <a href="{cscms:pagelast}" class="layui-laypage-last" title="尾页">末页</a>
	                            </div>
	                       </div>
				        </div>
				    </div>
				</div>
			</div>
		</div>
	</div>
	<div class="mar10"></div>
	<div class="mar10"></div>
{cscms:bottom}
<script type="text/javascript">
	$('#left_blog').addClass('on');
	var send_num=0;
    $(document).ready(function() {
		user.blog();
    });
</script>
</body>
</html>